﻿<style type="text/css">
.denggao_parent { overflow: hidden; table-layout: fixed; width: 100%;  background-color: #fff;}
.denggao_right { float: left;min-width: 100%;border-left: 0; padding: 10px; background-color: #fff; color: #666;overflow: auto; }
.denggao_right .main_block { min-height: 500px; line-height: 33px; border-top: 1px #ddd solid; margin-top: 15px; padding: 15px; }
.denggao_right .xuanxiang { border: 1px #ddd solid; background-color: #f4f4f4; cursor: pointer; border-radius: 5px; font-size: 16px; padding: 5px; padding-left: 15px; color: #333; margin-bottom: 10px; }
}
.xuanxiang{margin: 10px;}
.xuanxiang  .newlyaddejsdjs { overflow: hidden; }
.xuanxiang  .newlyaddejsdjs li{ width: 130px; float: left; padding: 5px 6px;}
.xuanxiang  .newlyaddejsdjs li .liebiaocheck-box{ top: 8px; left: 0;}
.xuanxiang  .visible_group_title{border-bottom: 1px #ddd solid;    padding: 5px;    background-color: #ddd;}
.xuanxiang  .visible_group_title span{background: #fff;    border-radius: 3px;    padding: 3px 5px;    position: absolute;    top: 3px;    right: 10px;}
.xuanxiang  .visible_group_title span:hover{background-color: #39f;color: #fff;}
.xuanxiang  .newlyaddejsdjs .yihang{ width: 98%;  float: none; }
.xuanxiang  .newlyaddejsdjs .yihang .name{width: 80%}
.xuanxiang  .newlyaddejsdjs .yihang .type{width: 10%; text-align: center;}
.xuanxiang  .newlyaddejsdjs .yihang .del{ color: #39f; cursor: pointer; }
.chaxun_info .jindu{ display: inline-block; width: 100px; height: 5px; border-radius: 5px; background-color: #fff; border: 1px #ddd solid; }
.chaxun_info .jindu span{background-color: #ffa300;height: 5px;    display: block;}
.chaxun_info .jindu .wancheng{background-color:#339966;}
.chaxun_info .jindu .shibai{background-color: #f00;}
.supertable tr:nth-child(odd){background:#F4F4F4;}
</style>


<div class="traintask" ng-controller = "reportFormController">
    <div  ng-if="!showData">
    <!--筛选区-->
    <div class="traintask_top">
        <div  style="height: 30px;">
        <!--<input type="text" placeholder="请输入任务名称" class="traintask_top_sousuo" ng-model="trainParams.name" ng-keyup = "findTrainListEnter($event)" style="height: 32px; border:0;"/>
        </div>
        <div ng-click="getTrainList()" style="height: 32px;">
            <svg class="icon" aria-hidden="true"><use xlink:href="#icon-sousuo"></use></svg>
            确认筛选-->
        </div>
        <div class="traintask_top_right">
            <!--绑定指令(预留) -->
            <div class="traintask_top_add "   btncon="btnAdd" btn-obj="btnlist"  fun="1"  ng-click="openVisible()">
                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-tianjia"></use></svg>
                {{'Add'|T}}</div>               
            <div class="traintask_top_add "  btncon="btnUpd" btn-obj="btnlist"  fun="1"   ng-click="EditTable()">
                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shuaxin1"></use></svg>
                {{'ReStatistics'|T}}</div> 
            <div class="traintask_top_select" btncon="btnDel" btn-obj="btnlist"  fun="1"  ng-click="DeleteTable()">
                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shanchu"></use></svg>
                {{'Delete'|T}}</div>
            <div class="traintask_top_select"  ng-click="getTabList()">
                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shuaxin5"></use></svg>
                刷新列表</div>
        </div>
    </div>
    <!--内容区-->
    <div class="traintask_main">
        <div class="traintask_main_liebiao">
            <table class="tab">
                <thead>
                    <th> <div class="traintask_main_liebiao_checkbox">
                            <div class="liebiaocheck-box" ng-click="selectAll()" ng-class="{selected:checkAll !=0 && checkAll == tabList.length}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont"></span>
                            </div>
                        </div></th>
                    <th style="text-align:left;">{{'TableName'|T}}</th>             
                    <th>{{'state'|T}}</th>       
                    <th>{{'Founder'|T}}</th>
                    <th>{{'CreationDate'|T}}</th>
                    <th>{{'FinalStatisticians'|T}}</th>
                    <th>{{'FinalStatisticsDate'|T}}</th>
                    <th></th>
                </thead>
                <tbody>
                    <tr ng-if="tabList.length <=0 && !Loading">
                        <td colspan="8">
                            <center style="margin:100px auto;">
                                <img src="/images/null/null.png" />
                                <div style="font-size:30px;color:#a3a3a3;"  ng-bind="'Null' | T"></div>
                            </center>   
                        </td>
                    </tr>
                    <tr ng-if="Loading">
                        <td  colspan="8"><!--Loading-->
                            <loading isloading="Loading" ng-if="Loading"></loading>  
                        </td>
                    </tr>
                    <tr ng-repeat="item in tabList">
                        <td class="tdshou"><div class="traintask_main_liebiao_checkbox">
                            <div class="liebiaocheck-box" ng-click="singleCheck(item)" ng-class="{selected:item.isSel}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont"></span>
                            </div>
                            <div class="traintask_main_liebiaoli_xiugai" ng-click="addinfo(item)">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-bianji"></use></svg>
                            </div>
                        </div></td>
                        <td class="tdshou" ng-bind="item.tableName"></td>
                         <td align="center" class="tdshou" ng-bind="item.state==0?('Unstatistics'|T):(item.state==1?('InStatistics'|T):('StatisticalCompletion'|T))"></td>
                        <td align="center" class="tdshou" ng-bind="item.creatUser"></td>
                       <td align="center" class="tdshou" ng-bind="item.creatDate"></td>
                        <td  align="center" class="tdshou" ng-bind="item.staisticName==undefined?'-':item.staisticName"></td>
                        <td  align="center" class="tdshou" ng-bind="item.statisDate==undefined?'-':item.statisDate"></td>
                        <td  align="center" class="tdshou"><a ng-click="checkTable(item)">{{'ViewTheData'|T}}</a></td>
                    </tr>
                </tbody>
            </table>

        </div>
        <!--分页-->
        <tm-pagination conf="tabpaginationConf"></tm-pagination>  
    </div>  
    </div>
    <div ng-if="showData">
            <div style="background-color: #fff;color: #666;padding: 10px;">
        <div class="traintask_top" style="width:100%;">
               <div style="height: 30px;"></div>
               <div>当前报表筛选时间段：{{params.startDate.length>0?params.startDate:'无限制'}} - {{params.endDate.length>0?params.endDate:'无限制'}}  </div> 
                <div class="traintask_top_left" ng-repeat="cobj in conditionList">
                    <div>{{cobj.colName}} {{cobj.opType==1?('BeEqualTo'|T):(cobj.opType==2?('GreaterThanEqualToOrEqualTo'|T):(cobj.opType==3?('LessThanEqualToOrEqual'|T):(cobj.opType==4?('greaterThan'|T):(cobj.opType==5?('lessThan'|T):(cobj.opType==6?('Contain'|T):(cobj.opType==7?('NotEqualTo'|T):(cobj.opType==8?('DoNotContain'|T):(cobj.opType==9?('empty'|T):('NonEmpty'|T)))))))))}} {{cobj.colValue}}
                    <span ng-click="delCondition($index)" style="padding-left: 10px;float: right;">×</span></div>
                </div>
                <div ng-if="conditionList.length>1">
                    <select ng-model="params.andOr" ng-change="getList()" style="border: 0;padding: 5px;">
                        <option value="and">{{'Union'|T}}</option>
                        <option value="or">{{'intersection'|T}}</option>
                    </select>
                </div>
                 <div class="traintask_top_right">

                  <div class="traintask_top_add " ng-click="closeCondition()">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-jia2"></use></svg>
                        {{'screen'|T}}</div>  
                 <div class="traintask_top_add " ng-click="exportTable()">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-jilu"></use></svg>
                        {{'Export'|T}}{{'whole'|T}}</div>     
                <div class="traintask_top_add " ng-click="backList()">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-renwu-yichexiao"></use></svg>
                        {{'Back'|T}}</div>  
                </div>
            </div>
        <div class="traintask" style="overflow: auto;width: 100%;">
            <div class="traintask_main"  style="width:100%;white-space: nowrap;">
                <loading isloading="Loading"></loading>
                <div class="traintask_main_liebiao supertable">
                    <table class="tab">
                        <thead>
                            <tr>
                                <td ng-repeat="item in headList"  style=" min-width:80px;">
                                    {{item.name}}
                                </td>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-if="List.length <=0 && !Loading">
                                <!--空值-->
                                <td colspan="{{headList.length}}">
                                    <center style="margin: 100px auto;">
                                        <img src="/images/null/null.png" />
                                        <div style="font-size: 30px; color: #a3a3a3;" ng-bind="'Null' | T">
                                        </div>
                                    </center>
                                    <center isloading="Loading" ng-if="Loading">
                                        <img src="/images/examnull.gif" />
                                    </center>
                                </td>
                            </tr>
                            <tr ng-if="Loading">
                                <td colspan="9">
                                    <!--Loading-->
                                    <loading isloading="Loading"></loading>
                                </td>
                            </tr>
                            <!--正文-->
                            <!--遍历开始-->
                            <tr ng-repeat="item in List" ng-if="!Loading">
                                <td  ng-repeat="key in headList" ng-bind="item[key.value].length<=0?'-':item[key.value]"  style=" min-width:80px;">

                                </td>
                            </tr>
                        </tbody>
                    </table>
                  
                </div>
            </div>
        </div>
          <tm-pagination  conf="paginationConf"></tm-pagination>
        </div>
    </div>
  
<!--新增-->
<div ng-if="visibleUserInfo">
    <div class="loading_bg" ng-click="closeVisible()" style="z-index: 999;">
        </div>
    <div class="newlyadded" style="border-radius:5px; z-index:999;">
       
        <div class="newlyadded_main" style="padding:0 ">
            <div class="Intelligent_pumpingbody"  style="padding: 10px;">
                <div class="Intelligent_pumpingtitle" style="padding: 5px 10px">
                    <span class="iconfont">&#xe61b;</span> {{'CustomDataDisplay'|T}} 
                    <div class="close" ng-click="closeVisible()" style="top:8px">
                        <span>+</span></div>
                </div>
                <div class="newlyaddedcolumn xuanxiang">
                    <div class="visible_group_title">                       
                       <input type="text" ng-model="getUserDataParams.tableName" placeholder="{{'PleaseEnterACustomReportName'|T}}" style="width: 98%;border: 1px solid #ccc;border-radius: 3px;padding: 5px;" />
                    </div>   
                 </div>  
                 <div class="newlyaddedcolumn xuanxiang">
                    <div class="visible_group_title"> 
                 <input type="text" id="startDate" ng-blur="getDate('startDate')" ng-click="getDate('startDate')" onclick="wdatepicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-model="getUserDataParams.startDate" placeholder=" {{'StartDate'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 45%;">-
                 <input type="text" id="endDate" ng-blur="getDate('endDate')" ng-click="getDate('endDate')" onclick="wdatepicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-model="getUserDataParams.endDate" placeholder=" {{'EndDate'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 45%;">
                 </div>
                 </div>
                <div class="newlyaddedcolumn xuanxiang">
                    
                    <div class="visible_group_title">                       
                       {{'CrowdScreening'|T}}                           
                       <span ng-click="openKnowledgeSelector('structure')" style="right: 166px; cursor:pointer;">{{'ScreenByHaveLearned'|T}}</span>
                       <span ng-click="openUserInfo($event)" style="right: 60px;cursor:pointer;">{{'ScreeningAccordingToPopulation'|T}}</span> <span  ng-click="getAllUserData()">{{'Eliminate'|T}}</span>
                    </div>   
                 
                     <ul class="newlyaddejsdjs">
                         <!-- 用户 -->
                            <li ng-repeat="item in userInfoConfig.UserList" class="yihang">
                                <div class="name" ng-bind="item.user_Name"></div>
                                <div class="type">{{'user'|T}}</div>                                
                                <div class="del" ng-click="delItem(item,4)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>                                
                            </li>
                            <!-- 组织机构 -->
                            <li ng-repeat="item in userInfoConfig.userOrgList" class="yihang">
                                <div class="name" ng-bind="item.organization_Name"></div>
                                <div class="type">{{'Organization'|T}}</div>    
                                <div class="del" ng-click="delItem(item,5)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>                                                            
                            </li>
                            <!-- 用户组 -->
                            <li ng-repeat="item in userInfoConfig.userGroupList" class="yihang">
                                <div class="name" ng-bind="item.userGroup_Name"></div>
                                <div class="type">{{'UserGroup'|T}}</div>       
                                <div class="del" ng-click="delItem(item,6)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>                                                         
                            </li>
                            <!-- 角色 -->                            
                            <li ng-repeat="item in userInfoConfig.userRoleList" class="yihang">
                                <div class="name" ng-bind="item.roles_Name"></div>
                                <div class="type">{{'Role'|T}}</div>
                                <div class="del" ng-click="delItem(item,7)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>                                                                
                            </li>
                            <!-- 知识分类 -->
                            <li ng-repeat="item in knowConfig.kssList" class="yihang">
                                <div class="name" ng-bind="item.knowledge_Name">题库名称</div>
                                <div class="type">{{'KnowledgeStructure'|T}}</div> 
                                <div class="del" ng-click="delItem(item,2)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>
                                                               
                            </li>  
                        </ul>
                </div>     
                <div class="newlyaddedcolumn xuanxiang">
                    <div class="visible_group_title">                       
                       {{'Student'|T}}{{'Properties'|T}}<span ng-click="selAll(headerInfoList)">{{'CheckAll'|T}}</span>                                                                                                               
                    </div>
                    <ul class="newlyaddejsdjs">
                        <!-- 遍历基本信息 -->
                        <li ng-repeat="item in headerInfoList" ng-click="item.flag = !item.flag">
                            <div class="liebiaocheck-box box" ng-class="{'selected':item.flag}">                                    
                                 <span class="iconfont"></span>
                            </div>
                            <div class="box-text" ng-bind="item.displayName">学号</div>
                        </li>                                               
                    </ul>
                </div>
                <div class="newlyaddedcolumn xuanxiang" >
                    <div class="visible_group_title">                      
                        {{'statisticalData'|T}}<span ng-click="selAll(headerDataList)">{{'CheckAll'|T}}</span>
                    </div>
                    <div class="visible_group_title">                      
                        {{'Course'|T}}
                    </div>
                    <ul class="newlyaddejsdjs">
                        <!-- 数据遍历 -->
                        <li ng-repeat="item in headerDataList | filter :{type:1} " ng-click="item.flag = !item.flag">
                            <div class="liebiaocheck-box box" ng-class="{'selected':item.flag}">                                    
                                 <span class="iconfont"></span>
                            </div>
                            <div class="box-text" ng-bind="item.displayName">学习时长</div>
                        </li>                     
                    </ul>
                    <div class="visible_group_title">                      
                        {{'Paper'|T}}
                    </div>
                    <ul class="newlyaddejsdjs">
                        <!-- 数据遍历 -->
                        <li ng-repeat="item in headerDataList | filter :{type:2} " ng-click="item.flag = !item.flag">
                            <div class="liebiaocheck-box box" ng-class="{'selected':item.flag}">                                    
                                 <span class="iconfont"></span>
                            </div>
                            <div class="box-text" ng-bind="item.displayName">学习时长</div>
                        </li>                     
                    </ul>
                    <div class="visible_group_title">                      
                        {{'Task'|T}}
                    </div>
                    <ul class="newlyaddejsdjs">
                        <!-- 数据遍历 -->
                        <li ng-repeat="item in headerDataList | filter :{type:3} " ng-click="item.flag = !item.flag">
                            <div class="liebiaocheck-box box" ng-class="{'selected':item.flag}">                                    
                                 <span class="iconfont"></span>
                            </div>
                            <div class="box-text" ng-bind="item.displayName">学习时长</div>
                        </li>                     
                    </ul>
                    <div class="visible_group_title">                      
                        {{'QuestionBank'|T}}
                    </div>
                    <ul class="newlyaddejsdjs">
                        <!-- 数据遍历 -->
                        <li ng-repeat="item in headerDataList | filter :{type:4} " ng-click="item.flag = !item.flag">
                            <div class="liebiaocheck-box box" ng-class="{'selected':item.flag}">                                    
                                 <span class="iconfont"></span>
                            </div>
                            <div class="box-text" ng-bind="item.displayName">学习时长</div>
                        </li>                     
                    </ul>
                </div>
                <div class="newlyaddedcolumn xuanxiang">
                    <div class="visible_group_title">{{'LearningRecords'|T}}</div>
                    <!-- 选择区 -->
                    <div class="btn_group" style="margin: 10px">  
                        <div class="btn quxiao" ng-click="openKnowledgeSelector('courseware')">{{'ChoiceOfCourses'|T}}</div>       
                        <div class="btn quxiao" ng-click="openKnowledgeSelector('trainingTask')">{{'SelectionTsk'|T}}</div>       
                        <div class="btn quxiao" ng-click="openKnowledgeSelector('examination')">{{'SelectATestPaper'|T}}</div>       
                       
                        <div class="btn quxiao" ng-click="openKnowledgeSelector('structure')" ng-if="false">选择题库</div>       
                     </div>
                    <!-- 选中的数据 -->
                    <div class="context">
                        <ul class="newlyaddejsdjs">
                            
                            <!--****************↑↓*****************-->
                            <!-- 任务 -->
                            <li ng-repeat="item in knowConfig.ksrList" class="yihang">
                                <div class="name" ng-bind="item.name"></div>
                                <div class="type">{{'Task'|T}}</div>  
                                <div class="del" ng-click="delItem(item,3)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>
                                                              
                            </li>
                            <!-- 课程 -->
                            <li ng-repeat="item in knowConfig.kscList" class="yihang">
                                <div class="name" ng-bind="item.course_Name"></div>
                                <div class="type">{{'Course'|T}}</div>
                                <div class="del" ng-click="delItem(item,0)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>
                                                                
                            </li>
                            <!-- 试卷 -->
                            <li ng-repeat="item in knowConfig.kseList" class="yihang">
                                <div class="name" ng-bind="item.paperName">试卷名称</div>
                                <div class="type">{{'Paper'|T}}</div> 
                                <div class="del" ng-click="delItem(item,1)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>
                                                               
                            </li>
                            <!-- 题库 -->
                            <li ng-repeat="item in knowConfig.kssList" class="yihang" ng-if="false">
                                <div class="name" ng-bind="item.knowledge_Name">题库名称</div>
                                <div class="type">{{'QuestionBank'|T}}</div> 
                                <div class="del" ng-click="delItem(item,2)"><span class="iconfont">&#xe606;</span>{{'Delete'|T}}</div>
                                                               
                            </li>    
                           <!-- <li class="yihang">
                              <div class="liebiaocheck-box box" ng-class="{'selected':unassignedHide}" ng-click="unassignedHideFun()">                                    
                                <span class="iconfont"></span>
                               </div>{{'RemoveThisKnowledgePoints'|T}}    
                           </li>    -->                                                                  
                        </ul>                    
                    </div>
                </div>
    


                <!--公式组合-->
                <div class="newlyaddedcolumn xuanxiang" ng-repeat="paper in gsList" ng-if="gsList.length>0">
                    <div class="visible_group_title">公式组合<span ng-click="openSelectGs(paper)">添加</span>
                    <span ng-click="delGs($index)" style="right: 60px;">删除</span>
                    </div>
                    
                    <!-- 选中的数据 -->
                    <div class="context">
                        <ul class="newlyaddejsdjs" style=" line-height:30px;">
                            <table style="width:100%;" ng-if="paper.paperList.length>0">
                                <thead>
                                    <tr style="text-align: left;">
                                        <th>试卷名称</th>
                                        <th>代号</th>
                                        <th></th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr  ng-repeat="paperobj in paper.paperList">
                                        <td ng-bind="paperobj.name"></td>
                                         <td ng-bind="paperobj.dh"></td>
                                         <td><a  ng-click="delPaperObj(paper,$index)">删除</a></td>
                                    </tr>
                                </tbody>
                            </table>
                            <table  style="width:100%;text-align: center;" class="gstable"   ng-if="paper.paperList.length>0" >
                                <tr style="color: #39f;cursor: pointer;">
                                <td ng-click="addGS('+',paper)" style="border: 1px solid #ccc;">+</td>
                                <td ng-click="addGS('-',paper)" style="border: 1px solid #ccc;">-</td>
                                <td ng-click="addGS('*',paper)" style="border: 1px solid #ccc;">*</td>
                                <td ng-click="addGS('/',paper)" style="border: 1px solid #ccc;">/</td>
                                <td ng-click="addGS('(',paper)" style="border: 1px solid #ccc;">(</td>
                                <td ng-click="addGS(')',paper)" style="border: 1px solid #ccc;">)</td>
                                <td ng-click="addGS('%',paper)" style="border: 1px solid #ccc;">%</td>
                                <td ng-click="addGS('>',paper)" style="border: 1px solid #ccc;">></td>
                                <td ng-click="addGS('<',paper)" style="border: 1px solid #ccc;"><</td>
                                <td style="border: 1px solid #ccc;"></td>
                                </tr>
                                <tr style="color: #39f;cursor: pointer;">
                                <td   ng-repeat="paperobj in paper.paperList"  ng-bind="paperobj.dh" ng-click="addGS(paperobj.dh,paper)" style="border: 1px solid #ccc;"></td>
                                </tr>
                                <tr style="background-color: #eee;"><td colspan=6 style="width:60%;">插入数值：<input type="number"  min="0" value="0" ng-model="newNumber"  style="border:0;"/><a ng-click="addGS(newNumber,paper)" style=" padding:5px; color:#39f;">确定</a><a ng-click="delGS(paper)" style=" padding:5px; color:#39f;">清除公式</a></td>
                                <td colspan=4 style="width:40%;">公式<i class="iconfont" style="color: #39f; cursor: pointer;" tooltips tooltip-class="tooltip_style" tooltip-template="点击上方小方块和输入数字组合当前条件的通过公式">&#xe66b;</i>：{{paper.gs}}</td>
                                </tr>
                            </table>                                                 
                        </ul>                    
                    </div>
                </div>
                <!---->
                <!-- <div style=" width:100%;padding:5px 0;text-align:center;border:1px solid #ddd; color:#39f;"  ng-click="openSelectGs(paper)">添加试卷公式</div> -->



            </div>
        </div>
        <div class="newlyaddedfooter">
            <div ng-if="isSaveBtn" class="btn">
                <btnloading isbtnload="isSaveBtn"></btnloading>
            </div>
            <button class="btn queding"  ng-click="saveVisible()" ng-if="!isSaveBtn"> <i class="iconfont">&#xe621;</i>{{'MakeSure'|T}}</button>

        </div>
    </div>
    </div>       

    <!--筛选-->
    <div ng-if="showCondition">
    <div class="loading_bg" ng-click="closeCondition()" style="z-index: 999;">
        </div>
    <div class="newlyadded" style="border-radius:5px; z-index:999;">
       
        <div class="newlyadded_main" style="padding:0;width:450px;">
            <div class="Intelligent_pumpingbody"  style="padding: 10px;">
                <div class="Intelligent_pumpingtitle" style="padding: 5px 10px">
                    <span class="iconfont">&#xe61b;</span> {{'AddFilterCondition'|T}} 
                    <div class="close" ng-click="closeCondition()" style="top:8px">
                        <span>+</span></div>
                </div> 
                <div class="newlyaddedcolumn xuanxiang" style=" border:0; margin-top:20px;">
                    <ul class="newlyaddejsdjs">
                        <!-- 遍历基本信息 -->
<!--                        <li>
                            范围：<select ng-model="params.colName">
                            <option value="">请选择</option>
                            <option value="1">学员属性</option>
                            <option value="2">统计数据</option>
                            </select>
                        </li>      -->   
                         <li style=" width:95%; line-height:40px;">
                            {{'Properties'|T}}：<select ng-model="conditionParams.colKey" ng-change="changeAttr()" style="width: 89%;border: 1px solid #ccc;border-radius: 3px;">
                            <option value="">{{'PleaseChoose'|T}}</option>
                            <option ng-repeat="obj in headList" value="{{obj.key}}" ng-bind="obj.name"></option>
                            </select>
                        </li>       
                        <li style=" width:95%;line-height:40px;">
                            {{'operation'|T}}：
                            <select ng-model="conditionParams.opType" style="width: 89%;border: 1px solid #ccc;border-radius: 3px;">
                                <option value="">{{'PleaseChoose'|T}}</option>
                                <option ng-repeat="tobj in typeList"  value="{{tobj.id}}" ng-bind="tobj.name" ></option>
                            </select>
                        </li>       
                        <li style=" width:95%;line-height:40px;">
                            {{'Value'|T}}：<input type="text" ng-if="conType=='string'" ng-model="conditionParams.colValue" placeholder="{{'PleaseInputKeywords'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 89%;">
                            <input type="number"  min="0" ng-if="conType=='int'" ng-model="conditionParams.colValue" placeholder="{{'PleaseInputKeywords'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 89%;">
                            <input type="text" id="searchData" ng-if="conType=='date'" ng-blur="getDate('searchData')" ng-click="getDate('searchData')" onclick="wdatepicker({dateFmt:'yyyy-MM-dd'})" ng-model="conditionParams.colValue" placeholder=" {{'PleaseInputKeywords'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 89%;">
                            <input type="text" id="searchDatatime" ng-if="conType=='datetime'" ng-blur="getDate('searchDatatime')" ng-click="getDate('searchDatatime')" onclick="wdatepicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-model="conditionParams.colValue" placeholder=" {{'PleaseInputKeywords'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 89%;">
                            <input type="text"  id="searchTime" ng-if="conType=='time'"  ng-blur="getDate('searchTime')" ng-click="getDate('searchTime')"  onclick="wdatepicker({dateFmt:'HH:mm:ss'})" ng-model="conditionParams.colValue" placeholder="{{'PleaseInputKeywords'|T}}" style="border: 1px solid #ccc;border-radius: 3px;width: 89%;">
                        </li>                                         
                    </ul>
                </div>
                
    
            </div>
        </div>
        <div class="newlyaddedfooter" style=" width:450px;">
            <button class="btn queding"  ng-click="searchCondition()"> <i class="iconfont">&#xe621;</i>{{'MakeSure'|T}}</button>

        </div>
    </div>
    </div>
     <!-- 显示字段 -->
  <knowledge-selector know-config="knowConfig" ng-if="knowConfig.isShow" on-callback="onCallback()"></knowledge-selector>
  <!-- 筛选字段 -->
  <knowledge-selector know-config="userKnowConfig" ng-if="userKnowConfig.isShow" on-callback="onUserCallback()"></knowledge-selector>
  <!-- 公式 -->
  <knowledge-selector know-config="gsConfig" ng-if="gsConfig.isShow" on-callback="onGsCallback()"></knowledge-selector>

  <selectormodal ng-if="userInfoConfig.ApiOpen" apidata="userInfoConfig"></selectormodal>
</div>













